package com.xiaode.controller.app.trajectory;

import com.jfinal.kit.Ret;
import com.xiaode.common.model.StudentTrajectory;
import java.util.List;

public class TrajectoryService {

    /**
     * 查询学生轨迹
     */
    public Ret findTrajectoryList(Integer accountId) {
    	List<StudentTrajectory> trajectoryList = StudentTrajectory.dao.find("SELECT * FROM student_trajectory WHERE user_account_id = ? ORDER BY id DESC", accountId);
        return Ret.ok().set("trajectoryList", trajectoryList);
    }
    
    

}
